StupidBeauty
Read times:573Posted at:Sat Feb 16 03:02:03 2013
- no title specified

转载 android SocketException Permission denied解决

如果妳所开发的Android软件需要联网,则 要在AndroidManifest.xml中 写上对应的配置信息,以请求获取联网权限。否则的话,运行起来将会遇到 android SocketException Permission denied错误。

http://bigcat.easymorse.com/?p=508

亮点

由于程序用到了联网功能,所以配置文件AndroidManifest.xml中需要添加如下配置信息:

<uses-permission android:name="android.permission.INTERNET" />

最终AndroidManifest.xml文件的代码片段如下:

未知美女

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4